package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import org.joda.time.DateTime;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * ETbOrderstatus is a Querydsl bean type
 */
@Label("TbOrderstatus")
public class ETbOrderstatus extends AbstractIdEntity<String> {

    private static final long serialVersionUID =24969180113350L;    
    @Size(max=500)
    @Label("操作内容")
    private String content;

    @Size(max=24)
    @Label("客户订单ID")
    private String customerOrderID;

    @Size(max=24)
    @Label("车队订单ID")
    private String fleetOrderID;

    @Size(max=24)
    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    private String id;

    @Size(max=100)
    @Label("操作人")
    private String operator;

    @Label("时间")
    private DateTime time;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCustomerOrderID() {
        return customerOrderID;
    }

    public void setCustomerOrderID(String customerOrderID) {
        this.customerOrderID = customerOrderID;
    }

    public String getFleetOrderID() {
        return fleetOrderID;
    }

    public void setFleetOrderID(String fleetOrderID) {
        this.fleetOrderID = fleetOrderID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public DateTime getTime() {
        return time;
    }

    public void setTime(DateTime time) {
        this.time = time;
    }

    public String toString() {
         return String.format("ETbOrderstatus { content : %s,customerOrderID : %s,fleetOrderID : %s,id : %s,operator : %s,time : %s }",content,customerOrderID,fleetOrderID,id,operator,time);
    }

}

